package com.aaa.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * fileName:ZuulApp
 * description:
 * author:sen
 * createTime:2020/1/3 15:09
 * version:1.0.0
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableZuulProxy        //开启路由代理功能
public class ZuulApp {

    public static void main(String[] args) {
        SpringApplication.run(ZuulApp.class,args);
    }
}
